<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author"
          content="Patrick Kelley patrick@netflix.com - Twitter - @monkeysecurity">
    <link rel="shortcut icon" href="static/ico/favicon.ico">

    <title>Security Monkey</title>

    <!-- Bootstrap core CSS -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/main.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/static/css/signin.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body role="document">

    <div class="container">

        <!-- Fixed navbar -->
        <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle"
                            data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span> <span
                            class="icon-bar"></span> <span class="icon-bar"></span> <span
                            class="icon-bar"></span>
                    </button>
                    <span><img class="pull-left smhead" src="/static/images/securitymonkeyHead.png" height="30" width="30" />
                    <a class="navbar-brand pull-right" href="#">Security Monkey</a></span>
                </div>
                <div class="navbar-collapse collapse">
                    <!-- Empy navbar for login page -->
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>

        {% from "security/_macros.html" import render_field_with_errors, render_field, render_errors %}

        <form action="{{ url_for_security('reset_password', token=reset_password_token) }}" method="POST" name="reset_password_form" class="form-signin">
            {% include "security/_messages.html" %}
            <h1>Reset password</h1>
            {{ reset_password_form.csrf_token }}
            <input type="password" class="form-control" placeholder="Password" id="password" name="password" required>
            {{ render_errors(reset_password_form.password) }}
            <input type="password" class="form-control" placeholder="Confirm Password" id="password_confirm" name="password_confirm" required>
          {{ render_errors(reset_password_form.password_confirm) }}
          <button class="btn btn-lg btn-primary btn-block" id="submit" name="submit" type="submit" value="Reset Password">Reset Password</button>
        {% include "security/_menu.html" %}
        </form>

    </div>

    <div class="container-fluid">
    </div>
    <!-- Bootstrap core JavaScript
      ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
            type="text/javascript"></script>
    <script src="/static/js/bootstrap.min.js" type="text/javascript"></script>

</body>
</html>
